# _*_ condig: utf-8 _*-
from PyQt5 import QtWidgets


class DownloadButton(QtWidgets.QPushButton):
    '''下载按钮'''
    def __init__(self, linkBar: QtWidgets.QLineEdit, parent=None):
        super(DownloadButton, self).__init__(parent)
        self.linkBar = linkBar # 文本框
        self.initButton()


    def initButton(self) -> None:
        '''初始化按钮'''
        self.setText("下  载")
        # 大小
        self.setGeometry(10, 30, 90, 30)
